<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!--<![endif]-->
<head>
<meta charset="utf-8">
<title>肯德鸭-用户注册</title>
<script language="javascript">
	function funsubmit(){
		if(document.loginForm.registPass2.value != document.loginForm.registPass.value)
		{
			alert("用户输入密码不一致");
			return false;
		}
		document.loginForm.action="UserRegister";
		document.loginForm.submit();
	}
	
	function funverify(){
		document.loginForm.action="userVerify";
		document.loginForm.submit();
	}
	
</script>
<!--js-->
<script src="newjs/jquery-1.8.2.min.js"></script>
<script src="newjs/common.js"></script>
<script src="newjs/jquery.easing.1.3.js"></script>
<script src="newjs/ddsmoothmenu.js"></script>
<script src="newjs/jquery.flexslider.js"></script>
<script src="newjs/jquery.elastislide.js"></script>
<script src="newjs/jquery.jcarousel.min.js"></script>
<script src="newjs/jquery.accordion.js"></script>
<script src="newjs/light_box.js"></script>
<script type="text/javascript">$(document).ready(function(){$(".inline").colorbox({inline:true, width:"50%"});});</script>
<!--end js-->

<!-- Mobile Specific Metas ================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<!-- CSS ================================================== -->

<link rel="stylesheet" href="newcss/style.css">
<link rel="stylesheet" href="newcss/orange.css">
<link rel="stylesheet" href="newcss/skeleton.css">
<link rel="stylesheet" href="newcss/layout.css">
<link rel="stylesheet" href="newcss/ddsmoothmenu.css"/>
<link rel="stylesheet" href="newcss/elastislide.css"/>
<link rel="stylesheet" href="newcss/home_flexslider.css"/>

<link rel="stylesheet" href="newcss/light_box.css"/>
<script src="newjs/html5.js"></script>

<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->

</head>
<body>
	<div class="mainContainer sixteen container">
  		<div class="header-wrapper">
       		<header class="container">
                <div class="head-right">
                 	<section class="header-bottom">
                  	</section>
                </div>
                <h1 class="logo"><a href="#" title="Logo">
                  	<img title="Logo" alt="Logo" src="images/kendeya.jpg" />
                  	</a>
                </h1>
                <nav id="smoothmenu1" class="ddsmoothmenu mainMenu">
                  <ul id="nav">
                    <li class=""><a href="index.jsp" title="Home">登录</a></li>
                    <li class="active"><a href="#" title="Home">注册</a></li>
                  </ul>
               	</nav>
             </header>
         </div>
		<section class="content-wrapper">
			<form method="POST" name="loginForm" >
				<div class="content-container container">
					<div class="main">
						<h1 class="page-title">新建账户</h1>
						<div class="fieldset">
	            			<h2 class="legend">个人信息</h2>
							<ul class="form-list">
								<li class="fields">
									<div class="customer-name">
										<div class="input-box name-firstname">
											<label for="firstname">用户名<em>*</em></label>
											<input type="text" class="required-entry input-text" title="First Name1" 
											name="registName1" id="firstname1" value="${sessionScope.registName}">
										</div>
									</div>  
									<div class="input-box">
										<label class="required" for="email_address">手机号<em>*</em></label>
										<input type="text" class="input-text validate-email required-entry" title="Phonenumber" 
										value="${sessionScope.mobile }" id="email_address1" name="registPhone">
									</div>    
									<div class="clear"></div>   
								</li>
							</ul>
							<div class="buttons-set">
								<input class="orange-btn" type="submit" name="verify" onclick="funverify()" value="发送验证码">  
								<div class="clear"></div>  
							</div>
							<h2 class="legend">验证信息</h2>
							<ul class="form-list">
								<li>	
									<div class="input-box">
										<label class="required" for="email_address">手机验证码<em>*</em></label>
										<input type="text" class="input-text validate-email required-entry" title="checknumber" value="" id="email_address2" name="registCheck">
									</div>
									<div class="clear"></div>
								</li>
							</ul>
							<h2 class="legend">登录信息</h2>
							<ul class="form-list">
								<li class="fields">
									<div class="customer-name">
										<div class="input-box name-firstname">
											<label for="firstname">输入密码<em>*</em></label>
											<input type="password" class="required-entry input-text" title="First Name2" value="" name="registPass" id="firstname2">
										</div>
										<div class="input-box name-lastname">
											<label for="lastname">确认密码<em>*</em></label>
											<input type="password" class="required-entry input-text" title="Last Name" value="" name="registPass2" id="lastname">
										</div>
										<div class="clear"></div>
									</div>
								</li>
							</ul>
						<div class="buttons-set">
							<p class="required">* 必填项目</p>
							<a href="index.jsp" title="Back" class="f-left">&laquo; 返回</a>
							<input class="orange-btn" type="submit" name="Submit" onclick="funsubmit()" value="注册">
							<div class="clear"></div>
						</div>
        			</div>
				</div>
				<div class="clearfix"></div>
				<div class="news-letter-container">
					<div class="free-shipping-block">
						<h1>免费送餐</h1>
						<p>肯德鸭宅急送</p>
					</div>
				</div>	
			</div>
		</form>
	</section>
</div>
<!--Footer Block-->
<section class="footer-wrapper">
              <footer class="container">
                <div class="footer-bottom-block">
                  <p class="copyright-block">Copyright &copy; 2018.CUGB all rights reserved.</p>
                </div>
              </footer>
            </section>
<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
</html>